package com.loan.system.service;

import com.loan.common.core.domain.PageQuery;
import com.loan.common.core.page.TableDataInfo;
import com.loan.system.domain.ChannelEntity;

import java.util.List;

public interface ChannelService {

    TableDataInfo<ChannelEntity> selectPageList(ChannelEntity entity, PageQuery pageQuery);

    List<ChannelEntity> getList();

    ChannelEntity selectChannelById(Long id);

    int addChannel(ChannelEntity entity);

    int updateChannel(ChannelEntity entity);

    int deleteChannelById(Long id);

    int updateStatus(ChannelEntity entity);
}
